package com.iplant.aps.service.po.oms;

import java.io.Serializable;
import java.util.Calendar;

/**
 * 基础数据检查
 *
 * @author PengYouWang
 * 2020-7-5 14:57:34
 */
public class OMSCheckMsg implements Serializable {

    /**
     * 序列号
     */
    private static final long serialVersionUID = 1L;

    /**
     *主键
     */
    public int ID=0;

    /**
     * 检查类型
     */
    public int Type = 0;
    /**
     * 提示内容
     */
    public String Message = "";

    // 辅助属性
    public String TypeText = "";
    /**
     * 车型
     */
    public String ProductNo = "";
    /**
     * 修程
     */
    public String LineName = "";
    /**
     * 工位
     */
    public String PartName = "";
    /**
     * 工序
     */
    public String PartPointName = "";

    /**
     * 影响车号
     */
    public String PartNo = "";

    /**
     * 责任人
     */
    public String DutyPerson = "";
    /**
     * 关闭时间
     */
    public Calendar CloseTime = Calendar.getInstance();

    /**
     * 计划任务ID
     */
    public int PlanTaskID = 0;

    /**
     * 创建人ID
     */
    public int CreateID = 0;
    /**
     * 创建人名称
     */
    public String Creator = "";
    /**
     * 创建时刻
     */
    public Calendar CreateTime = Calendar.getInstance();
    /**
     * 编辑人ID/解决人
     */
    public int EditID = 0;
    /**
     * 编辑人名称/解决人
     */
    public String Editor = "";
    /**
     * 编辑时刻/解决时刻
     */
    public Calendar EditTime = Calendar.getInstance();

    public OMSCheckMsg() {
    }

    public OMSCheckMsg(int type, String message, String typeText) {
        super();
        Type = type;
        Message = message;
        TypeText = typeText;
    }

    public OMSCheckMsg(int type, String message, String typeText, String productNo, String lineName, String partName,
                       String partPointName) {
        Type = type;
        Message = message;
        TypeText = typeText;
        ProductNo = productNo;
        LineName = lineName;
        PartName = partName;
        PartPointName = partPointName;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getProductNo() {
        return ProductNo;
    }

    public void setProductNo(String productNo) {
        ProductNo = productNo;
    }

    public String getLineName() {
        return LineName;
    }

    public void setLineName(String lineName) {
        LineName = lineName;
    }

    public String getPartName() {
        return PartName;
    }

    public void setPartName(String partName) {
        PartName = partName;
    }

    public String getPartPointName() {
        return PartPointName;
    }

    public void setPartPointName(String partPointName) {
        PartPointName = partPointName;
    }

    public int getType() {
        return Type;
    }

    public void setType(int type) {
        Type = type;
    }

    public String getMessage() {
        return Message;
    }

    public void setMessage(String message) {
        Message = message;
    }

    public String getTypeText() {
        return TypeText;
    }

    public void setTypeText(String typeText) {
        TypeText = typeText;
    }

    public String getPartNo() {
        return PartNo;
    }

    public void setPartNo(String partNo) {
        PartNo = partNo;
    }

    public int getPlanTaskID() {
        return PlanTaskID;
    }

    public void setPlanTaskID(int planTaskID) {
        PlanTaskID = planTaskID;
    }

    public String getDutyPerson() {
        return DutyPerson;
    }

    public void setDutyPerson(String dutyPerson) {
        DutyPerson = dutyPerson;
    }

    public Calendar getCloseTime() {
        return CloseTime;
    }

    public void setCloseTime(Calendar closeTime) {
        CloseTime = closeTime;
    }

    public int getCreateID() {
        return CreateID;
    }

    public void setCreateID(int createID) {
        CreateID = createID;
    }

    public String getCreator() {
        return Creator;
    }

    public void setCreator(String creator) {
        Creator = creator;
    }

    public Calendar getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(Calendar createTime) {
        CreateTime = createTime;
    }

    public int getEditID() {
        return EditID;
    }

    public void setEditID(int editID) {
        EditID = editID;
    }

    public String getEditor() {
        return Editor;
    }

    public void setEditor(String editor) {
        Editor = editor;
    }

    public Calendar getEditTime() {
        return EditTime;
    }

    public void setEditTime(Calendar editTime) {
        EditTime = editTime;
    }
}
